public class Test {

    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addLast(12);
        myLinkedList.addLast(13);
        myLinkedList.addLast(14);
        myLinkedList.addLast(12);
        myLinkedList.addLast(12);
        myLinkedList.addIndex(3,15);
        myLinkedList.display();
        System.out.println("==============");
        //myLinkedList.removeAllKey(12);
        myLinkedList.display();

       /* myLinkedList.addIndex(2,99);
        myLinkedList.display();
        System.out.println(myLinkedList.contains(999));*/
    }
}
